<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    消息为<p th:text="${msg}"></p>
    输出对象为<p th:object="${person}">

                name:<p th:text="*{person.name}"><br/>
                lastname:<p th:text="*{person.lastName}"><br/>
                age:<p th:text="*{person.age}"><br/>
                <tr th:each="likes : *{person.likes}">
                    <td th:text="*{likes}"></td>
                </tr>
    </p>
<!--    <tr th:each="lists : ${person2}">
        <td th:text="${lists}"></td>
    </tr>-->
</body>
</html>